home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / perl5 / Glib.pm < prev    next >
Encoding:
Perl POD Document  |  2006-09-25  |  20.9 KB  |  621 lines

  1. # Copyright (C) 2003-2006 by the gtk2-perl team (see the file AUTHORS for
  2. # the full list)
  3. #
  4. # This library is free software; you can redistribute it and/or modify it under
  5. # the terms of the GNU Library General Public License as published by the Free
  6. # Software Foundation; either version 2.1 of the License, or (at your option)
  7. # any later version.
  8. #
  9. # This library is distributed in the hope that it will be useful, but WITHOUT
  10. # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  11. # FOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for
  12. # more details.
  13. #
  14. # You should have received a copy of the GNU Library General Public License
  15. # along with this library; if not, write to the Free Software Foundation, Inc.,
  16. # 59 Temple Place - Suite 330, Boston, MA  02111-1307  USA.
  17. #
  18. # $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/Glib/Glib.pm,v 1.107 2006/09/04 18:04:37 kaffeetisch Exp $
  19. #
  20.  
  21. package Glib;
  22.  
  23. use 5.008;
  24. use strict;
  25. use warnings;
  26. use Exporter;
  27. require DynaLoader;
  28. our @ISA = qw(DynaLoader Exporter);
  29.  
  30. use constant {
  31.     TRUE  => 1,
  32.     FALSE => !1, # can't use !TRUE at this point
  33.     G_PRIORITY_HIGH         => -100,
  34.     G_PRIORITY_DEFAULT      =>  0,
  35.     G_PRIORITY_HIGH_IDLE    =>  100,
  36.     G_PRIORITY_DEFAULT_IDLE =>  200,
  37.     G_PRIORITY_LOW            =>  300,
  38.     G_PARAM_READWRITE       => [qw/readable writable/],
  39. };
  40.  
  41. # export nothing by default.
  42. # export functions and constants by request.
  43. our %EXPORT_TAGS = (
  44.     constants => [qw/
  45.             TRUE
  46.             FALSE
  47.             G_PRIORITY_HIGH
  48.             G_PRIORITY_DEFAULT
  49.             G_PRIORITY_HIGH_IDLE
  50.             G_PRIORITY_DEFAULT_IDLE
  51.             G_PRIORITY_LOW
  52.             G_PARAM_READWRITE
  53.             /],
  54.     functions => [qw/
  55.             filename_to_unicode
  56.             filename_from_unicode
  57.             filename_to_uri
  58.             filename_from_uri
  59.             filename_display_name
  60.             filename_display_basename
  61.             /],
  62. );
  63. our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS;
  64. $EXPORT_TAGS{all} = \@EXPORT_OK;
  65.  
  66. our $VERSION = '1.140';
  67.  
  68. sub dl_load_flags { $^O eq 'darwin' ? 0x00 : 0x01 }
  69.  
  70. Glib->bootstrap ($VERSION);
  71.  
  72. package Glib::Flags;
  73.  
  74. use overload
  75.    'bool' => \&bool,
  76.    '+'    => \&union,     '|'    => \&union,
  77.    '-'    => \&sub,
  78.    '>='   => \&ge,
  79.    '=='   => \&eq,        'eq'   => \&eq, # eq for is_deeply in Test::More
  80.    '*'    => \&intersect, '&'    => \&intersect,
  81.    '/'    => \&xor,       '^'    => \&xor,
  82.    '@{}'  => \&as_arrayref,
  83.    '""'   => sub { "[ @{$_[0]} ]" },
  84.    fallback => 1;
  85.  
  86. package Glib::Error;
  87.  
  88. use overload
  89.    '""' => sub { $_[0]->message.$_[0]->location },
  90.    fallback => 1;
  91.  
  92. sub location { $_[0]->{location} }
  93. sub message { $_[0]->{message} }
  94. sub domain { $_[0]->{domain} }
  95. sub value { $_[0]->{value} }
  96. sub code { $_[0]->{code} }
  97.  
  98. package Glib::Object::Property;
  99.  
  100. use Carp;
  101.  
  102. sub TIESCALAR
  103. {
  104. # in the array reference the elements are:
  105. #    [0] Glib::Object
  106. #    [1] property name
  107.  
  108.     bless [ $_[1], $_[2] ], $_[0];
  109. }
  110.  
  111. sub STORE { croak 'property '.$_[0][1].' is read-only'; }
  112.  
  113. sub FETCH { '[write-only]'; }
  114.  
  115. package Glib::Object::Property::Readable;
  116.  
  117. our @ISA = qw/Glib::Object::Property/;
  118.  
  119. sub FETCH { $_[0][0]->get_property ($_[0][1]); }
  120.  
  121. package Glib::Object::Property::Writable;
  122.  
  123. our @ISA = qw/Glib::Object::Property/;
  124.  
  125. sub STORE { $_[0][0]->set_property ($_[0][1], $_[1]); }
  126.  
  127. package Glib::Object::Property::ReadWrite;
  128.  
  129. our @ISA = qw/Glib::Object::Property/;
  130.  
  131. *FETCH = \&Glib::Object::Property::Readable::FETCH;
  132. *STORE = \&Glib::Object::Property::Writable::STORE;
  133.  
  134. package Glib::Object;
  135.  
  136. use Carp;
  137.  
  138. sub tie_properties
  139. {
  140.     my $self = shift;    # the object
  141.     my $all = shift;    # add all properties, up heirarchy
  142.  
  143.     my @props = $self->list_properties;
  144.     my $package = ref $self;
  145.     my $name;
  146.     foreach my $prop (@props)
  147.     {
  148.         # skip to next if it doesn't belong to this package and
  149.         # they don't want everything tied
  150.         next if ($prop->{owner_type} ne $package and not $all);
  151.  
  152.         $name = $prop->{name};
  153.         $name =~ s/-/_/g;
  154.  
  155.         carp "overwriting existing non-tied hash key $name"
  156.             if (exists ($self->{$name})
  157.                 and not tied $self->{$name});
  158.  
  159.         if ($prop->{flags} >= ["readable", "writable"]) {
  160.                         tie $self->{$name},
  161.                                 'Glib::Object::Property::ReadWrite',
  162.                                 $self, $name;
  163.                 } elsif ($prop->{flags} >= "readable") {
  164.                         tie $self->{$name},
  165.                                 'Glib::Object::Property::Readable',
  166.                                 $self, $name;
  167.                 } elsif ($prop->{flags} >= "writable") {
  168.             tie $self->{$name},
  169.                 'Glib::Object::Property::Writable',
  170.                 $self, $name;
  171.                 } else {
  172.                         # if it's not readable and not writable what is it?
  173.         }
  174.     }
  175. }
  176.  
  177. package Glib::Object::_LazyLoader;
  178.  
  179. use strict;
  180. no strict qw(refs);
  181. use vars qw($AUTOLOAD);
  182. push @Carp::CARP_NOT, __PACKAGE__;
  183.  
  184. # These two overrides won't keep explicit calls to UNIVERSAL::(isa|can)
  185. # from breaking if called before anything is loaded, but those should
  186. # be quite rare.
  187.  
  188. sub isa {
  189.     # we really shouldn't get in here at all if $_[0] is undefined.
  190.     _load (ref($_[0]) || $_[0]);
  191.     $_[0]->SUPER::isa ($_[1]);
  192. }
  193.  
  194. sub can {
  195.     # we really shouldn't get in here at all if $_[0] is undefined.
  196.     _load (ref($_[0]) || $_[0]);
  197.     $_[0]->SUPER::can ($_[1]);
  198. }
  199.  
  200. sub AUTOLOAD {
  201.     (my $method = $AUTOLOAD) =~ s/^.*:://;
  202.     (my $lazy_class = $AUTOLOAD) =~ s/::[^:]*$//;
  203.     my $object_or_type = shift;
  204.  
  205.     _load ($lazy_class);
  206.  
  207.     die "Something is very broken, couldn't lazy load $lazy_class"
  208.         if $object_or_type->isa (__PACKAGE__);
  209.  
  210.     # try again
  211.     return $object_or_type->$method (@_);
  212. }
  213.  
  214. package Glib;
  215.  
  216. 1;
  217. __END__
  218.  
  219. =head1 NAME
  220.  
  221. Glib - Perl wrappers for the GLib utility and Object libraries
  222.  
  223. =head1 SYNOPSIS
  224.  
  225.   use Glib;
  226.  
  227. =head1 ABSTRACT
  228.  
  229. This module provides perl access to GLib and GLib's GObject libraries.
  230. GLib is a portability and utility library; GObject provides a generic
  231. type system with inheritance and a powerful signal system.  Together
  232. these libraries are used as the foundation for many of the libraries
  233. that make up the Gnome environment, and are used in many unrelated
  234. projects.
  235.  
  236. =head1 DESCRIPTION
  237.  
  238. This wrapper attempts to provide a perlish interface while remaining
  239. as true as possible to the underlying C API, so that any reference
  240. materials you can find on using GLib may still apply to using the
  241. libraries from perl.  This module also provides facilities for creating
  242. wrappers for other GObject-based libraries.  The L<SEE ALSO> section
  243. contains pointers to all sorts of good information.
  244.  
  245. =head1 PERL VERSUS C
  246.  
  247. GLib provides to C programs many of the same facilities Perl offers
  248. natively.  Where GLib's functionality overlaps Perl's, Perl's is favored.
  249. Some concepts have been eliminated entirely, as Perl is a higher-level
  250. language than C.  In other instances we've had to add or change APIs to
  251. make sense in Perl.  Here's a quick run-down:
  252.  
  253. =head2 Perl Already Does That
  254.  
  255. The GLib types GList (a doubly-linked list), GSList (singly-linked list),
  256. GHashTable, GArray, etc have all been replaced by native Perl datatypes.  In
  257. fact, many functions which take GLists or arrays simply accept lists on the
  258. Perl stack.  For the most part, GIOChannels are no more functional than Perl
  259. file handles, so you won't see any GIOChannels.  GClosures are not visible at
  260. the Perl level, because Perl code references do the same thing.  Just about any
  261. function taking either a C function pointer or a GClosure will accept a code
  262. reference in Perl.  (In fact, you can probably get away with just a subroutine
  263. name in many spots, provided you aren't using strict subs.)
  264.  
  265. =head2 Don't Worry About That
  266.  
  267. Some concepts have been eliminated; you need never worry about
  268. reference-counting on GObjects or having to free GBoxed structures.  Perl is a
  269. garbage-collected language, and we've put a lot of work into making the
  270. bindings take care of memory for you in a way that feels natural to a Perl
  271. developer.  You won't see GValues in Perl (that's just a C structure with Perl
  272. scalar envy, anyway).
  273.  
  274. =head2 This Is Now That
  275.  
  276. Other GLib concepts have been converted to an analogous Perl concept.
  277.  
  278. The GType id will never be seen in Perl, as the package name serves that
  279. purpose.  Several packages corresponding to the GTypes of the fundamental types
  280. have been registered for you:
  281.  
  282.  G_TYPE_STRING     Glib::String
  283.  G_TYPE_INT        Glib::Int
  284.  G_TYPE_UINT       Glib::UInt
  285.  G_TYPE_DOUBLE     Glib::Double
  286.  G_TYPE_BOOLEAN    Glib::Boolean
  287.  
  288. The remaining fundamentals (char/uchar, short, float, etc) are also registered
  289. so that we can properly interact with properties of C objects, but perl really
  290. only uses ints, uints, and doubles.  Oh, and we created a GBoxed type for Perl
  291. scalars so you can use scalars where any boxed type would be allowed (e.g.
  292. GtkTreeModel columns):
  293.  
  294.  Glib::Scalar
  295.  
  296. Functions that can return false and set a GError in C raise an exception in
  297. Perl, using an exception object based on the GError for $@; see L<Glib::Error>.
  298. Trapping exceptions in signals is a sticky issue, so they get their own
  299. section; see L<EXCEPTIONS>.
  300.  
  301. Enumerations and flags are treated as strings and arrays of strings,
  302. respectively.  GLib provides a way to register nicknames for enumeration
  303. values, and the Perl bindings use these nicknames for the real values, so that
  304. we never have to deal with numbers in Perl. This can get a little cumbersome
  305. for bitfields, but it's very nice when you forget a flag value, as the bindings
  306. will tell you what values are accepted when you pass something invalid. Also,
  307. the bindings consider the - and _ characters to be equivalent, so that signal
  308. and property names can be properly stringified by the => operator.  For
  309. example, the following are equivalent:
  310.  
  311.   # property foo-matic of type FooType, using the
  312.   # value FOO_SOMETHING_COOL.  its nickname would be
  313.   # 'something-cool'.  you may use either the full
  314.   # name or the nickname when supplying values to perl.
  315.   $object->set ('foo-matic', 'FOO_SOMETHING_COOL');
  316.   $object->set ('foo_matic', 'something_cool');
  317.   $object->set (foo_matic => 'something-cool');
  318.  
  319. Beware that Perl will always return to you the nickname form, with the dash.
  320.  
  321. Flags have some additional magic abilities in the form of overloaded
  322. operators:
  323.  
  324.   + or |   union of two flagsets ("add")
  325.   -        difference of two flagsets ("sub", "remove")
  326.   * or &   intersection of two bitsets ("and")
  327.   / or ^   symmetric difference ("xor", you will rarely need this)
  328.   >=       contains-operator ("is the left set a superset of the right set?")
  329.   ==       equality
  330.  
  331. In addition, flags in boolean context indicate whether they are empty or
  332. not, which allows you to write common operations naturally:
  333.  
  334.   $widget->set_events ($widget->get_events - "motion_notify_mask");
  335.   $widget->set_events ($widget->get_events - ["motion_notify_mask",
  336.                                               "button_press_mask"]);
  337.  
  338.   # shift pressed (both work, it's a matter of taste)
  339.   if ($event->state >= "shift-mask") { ...
  340.   if ($event->state * "shift-mask") { ...
  341.  
  342.   # either shift OR control pressed?
  343.   if ($event->state * ["shift-mask", "control-mask"]) { ...
  344.  
  345.   # both shift AND control pressed?
  346.   if ($event->state >= ["shift-mask", "control-mask"]) { ...
  347.  
  348. In general, C<+> and C<-> work as expected to add or remove flags. To test
  349. whether I<any> bits are set in a mask, you use C<$mask * ...>, and to test
  350. whether I<all> bits are set in a mask, you use C<< $mask >= ... >>.
  351.  
  352. When dereferenced as an array C<@$flags> or C<< $flags->[...] >>, you can
  353. access the flag values directly as strings (but you are not allowed to
  354. modify the array), and when stringified C<"$flags"> a flags value will
  355. output a human-readable version of its contents.
  356.  
  357. =head2 It's All the Same
  358.  
  359. For the most part, the remaining bits of GLib are unchanged.  GMainLoop is now
  360. Glib::MainLoop, GObject is now Glib::Object, GBoxed is now Glib::Boxed, etc.
  361.  
  362. =head1 FILENAMES, URIS AND ENCODINGS
  363.  
  364. Perl knows two datatypes, unicode text and binary bytes. Filenames on
  365. a system that doesn't use a utf-8 locale are often stored in a local
  366. encoding ("binary bytes"). Gtk+ and descendants, however, internally
  367. work in unicode most of the time, so when feeding a filename into a
  368. GLib/Gtk+ function that expects a filename, you first need to convert it
  369. from the local encoding to unicode.
  370.  
  371. This involves some elaborate guessing, which perl currently avoids, but
  372. GLib and Gtk+ do. As an exception, some Gtk+ functions want a filename
  373. in local encoding, but the perl interface usually works around this by
  374. automatically converting it for you.
  375.  
  376. In short: Everything should be in unicode on the perl level.
  377.  
  378. The following functions expose the conversion algorithm that GLib uses.
  379.  
  380. These functions are only necessary when you want to use perl functions
  381. to manage filenames returned by a GLib/Gtk+ function, or when you feed
  382. filenames into GLib/Gtk+ functions that have their source outside your
  383. program (e.g. commandline arguments, readdir results etc.).
  384.  
  385. These functions are available as exports by request (see L</Exports>),
  386. and also support method invocation syntax for pathological consistency
  387. with the OO syntax of the rest of the bindings.
  388.  
  389. =over 4
  390.  
  391. =item $filename = filename_to_unicode $filename_in_local_encoding
  392.  
  393. =item $filename = Glib->filename_to_unicode ($filename_in_local_encoding)
  394.  
  395. Convert a perl string that supposedly contains a filename in local
  396. encoding into a filename represented as unicode, the same way that GLib
  397. does it internally.
  398.  
  399. Example:
  400.  
  401.    $gtkfilesel->set_filename (filename_to_unicode $ARGV[1]);
  402.  
  403. This function will croak() if the conversion cannot be made, e.g., because the
  404. utf-8 is invalid.
  405.  
  406. =item $filename_in_local_encoding = filename_from_unicode $filename
  407.  
  408. =item $filename_in_local_encoding = Glib->filename_from_unicode ($filename)
  409.  
  410. Converts a perl string containing a filename into a filename in the local
  411. encoding in the same way GLib does it.
  412.  
  413. Example:
  414.  
  415.    open MY, "<", filename_from_unicode $gtkfilesel->get_filename;
  416.  
  417. =back
  418.  
  419. Other functions for converting URIs are currently missing. Also, it might
  420. be useful to know that perl currently has no policy at all regarding
  421. filename issues, if your scalar happens to be in utf-8 internally it will
  422. use utf-8, if it happens to be stored as bytes, it will use it as-is.
  423.  
  424. When dealing with filenames that you need to display, there is a much easier
  425. way, as of Glib 1.120 and glib 2.6.0:
  426.  
  427. =over 4
  428.  
  429. =item $uft8_string = filename_display_name ($filename)
  430.  
  431. =item $uft8_string = filename_display_basename ($filename)
  432.  
  433. Given a I<$filename> in filename encoding, return the filename, or just
  434. the file's basename, in utf-8.  Unlike the other functions described above,
  435. this one is guaranteed to return valid utf-8, but the conversion is not
  436. necessarily reversible.  These functions are intended to be used for failsafe
  437. display of filenames, for example in gtk+ labels.
  438.  
  439. Since gtk+ 2.6, Glib 1.12
  440.  
  441. =back
  442.  
  443.  
  444. =head1 EXCEPTIONS
  445.  
  446. The C language doesn't support exceptions; GLib is a C library, and of course
  447. doesn't support exceptions either.  In Perl, we use die and eval to raise
  448. and trap exceptions as a rather common practice.  So, the bindings have to
  449. work a little black magic behind the scenes to keep GLib from exploding when
  450. the Perl program uses exceptions.  Unfortunately, a little of this magic
  451. has to leak out to where you can see it at the Perl level.
  452.  
  453. Signal and event handlers are run in an eval context; if an exception occurs
  454. in such a handler and you don't catch it, Perl will report that an error
  455. occurred, and then go on about its business like nothing happened.
  456.  
  457. You may register subroutines as exception handlers, to be called when such
  458. an exception is trapped.  Another function removes them for you.
  459.  
  460.   $tag = Glib->install_exception_handler (\&my_handler);
  461.   Glib->remove_exception_handler ($tag);
  462.  
  463. The exception handler will get a fresh copy of the $@ of the offending
  464. exception on the argument stack, and is expected to return non-zero if the
  465. handler is to remain installed.  If it returns false, the handler will be
  466. removed.
  467.  
  468.   sub my_handler {
  469.       if ($_[0] =~ m/ftang quisinart/) {
  470.            clean_up_after_ftang ();
  471.       }
  472.       1; # live to fight another day
  473.   }
  474.  
  475. You can register as many handlers as you like; they will all run
  476. independently.
  477.  
  478. An important thing to remember is that exceptions do not cross main loops.
  479. In fact, exceptions are completely distinct from main loops.  If you need
  480. to quit a main loop when an exception occurs, install a handler that quits
  481. the main loop, but also ask yourself if you are using exceptions for flow
  482. control or exception handling.
  483.  
  484. =head1 LOG MESSAGES
  485.  
  486. GLib's g_log function provides a flexible mechanism for reporting messages,
  487. and most GLib-based C libraries use this mechanism for warnings, assertions,
  488. critical messages, etc.  The Perl bindings offer a mechanism for routing
  489. these messages through Perl's native system, warn() and die().  Extensions
  490. should register the log domains they wrap for this to happen fluidly.
  491. [FIXME say more here]
  492.  
  493. =head1 64 BIT INTEGERS
  494.  
  495. Since perl's integer data type can only hold 32 bit values on all 32 bit
  496. machines and even on some 64 bit machines, Glib converts 64 bit integers to and
  497. from strings if necessary.  These strings can then be used to feed one of the
  498. various big integer modules.  Make sure you don't let your strings get into
  499. numerical context before passing them into a Glib function because in this
  500. case, perl will convert the number to scientific notation which at this point
  501. is not understood by Glib's converters.
  502.  
  503. Here is an overview of what big integer modules are available.  First of all,
  504. there's Math::BigInt.  It has everything you will ever need, but its pure-Perl
  505. implementation is also rather slow.  There are multiple ways around this,
  506. though.
  507.  
  508. =over
  509.  
  510. =item L<Math::BigInt::FastCalc>
  511.  
  512. L<Math::BigInt::FastCalc> can help avoid the glacial speed of vanilla
  513. L<Math::BigInt::Calc>.  Recent versions of L<Math::BigInt> will automatically
  514. use L<Math::BigInt::FastCalc> in place of L<Math::BigInt::Calc> when available.
  515. Other options include L<Math::BigInt::GMP> or L<Math::BigInt::Pari>, which
  516. however have much larger dependencies.
  517.  
  518. =item L<Math::BigInt::Lite>
  519.  
  520. Then there's L<Math::BigInt::Lite>, which uses native Perl integer operations
  521. as long as Perl integers have sufficient range, and upgrades itself to
  522. L<Math::BigInt> when Perl integers would overflow. This must be used in place
  523. of L<Math::BigInt>.
  524.  
  525. =item L<bigint> / L<bignum> / L<bigfloat>
  526.  
  527. Finally, there's the bigint/bignum/bigfloat pragmata, which automatically load
  528. the corresponding Math:: modules and which will autobox constants.
  529. bignum/bigint will automatically use L<Math::BigInt::Lite> if it's available.
  530.  
  531. =back
  532.  
  533. =head1 Exports
  534.  
  535. For the most part, gtk2-perl avoids exporting things.  Nothing is exported by
  536. default, but some functions and constants in Glib are available by request;
  537. you can also get all of them with the export tag "all".
  538.  
  539. =over
  540.  
  541. =item Tag: constants
  542.  
  543.   TRUE
  544.   FALSE
  545.   G_PRIORITY_HIGH
  546.   G_PRIORITY_DEFAULT
  547.   G_PRIORITY_HIGH_IDLE
  548.   G_PRIORITY_DEFAULT_IDLE
  549.   G_PRIORITY_LOW
  550.   G_PARAM_READWRITE
  551.  
  552. =item Tag: functions
  553.  
  554.   filename_from_unicode
  555.   filename_to_unicode
  556.   filename_from_uri
  557.   filename_to_uri
  558.   filename_display_basename
  559.   filename_display_name
  560.  
  561. =back
  562.  
  563. =head1 SEE ALSO
  564.  
  565. L<Glib::Object::Subclass> explains how to create your own gobject subclasses
  566. in Perl.
  567.  
  568. L<Glib::index> lists the automatically-generated API reference for the
  569. various packages in Glib.
  570.  
  571. This module is the basis for the Gtk2 module, so most of the references
  572. you'll be able to find about this one are tied to that one.  The perl
  573. interface aims to be very simply related to the C API, so see the C API
  574. reference documentation:
  575.  
  576.   GLib - http://developer.gnome.org/doc/API/2.0/glib/
  577.   GObject - http://developer.gnome.org/doc/API/2.0/gobject/
  578.  
  579. This module serves as the foundation for any module which needs to bind
  580. GLib-based C libraries to perl.
  581.  
  582.   Glib::devel - Binding developer's overview of Glib's internals
  583.   Glib::xsapi - internal API reference for GPerl
  584.   Glib::ParseXSDoc - extract API docs from xs sources.
  585.   Glib::GenPod - turn the output of Glib::ParseXSDoc into POD
  586.   Glib::MakeHelper - Makefile.PL utilities for Glib-based extensions
  587.  
  588.   Yet another document, available separately, ties it all together:
  589.     http://gtk2-perl.sourceforge.net/doc/binding_howto.pod.html
  590.  
  591. For gtk2-perl itself, see its website at
  592.  
  593.   gtk2-perl - http://gtk2-perl.sourceforge.net/
  594.  
  595. A mailing list exists for discussion of using gtk2-perl and related
  596. modules.  Archives and subscription information are available at
  597. http://lists.gnome.org/.
  598.  
  599.  
  600. =head1 AUTHORS
  601.  
  602. muppet, E<lt>scott at asofyet dot orgE<gt>, who borrowed heavily from the work
  603. of Goran Thyni, E<lt>gthyni at kirra dot netE<gt> and Guillaume Cottenceau
  604. E<lt>gc at mandrakesoft dot comE<gt> on the first gtk2-perl module, and from
  605. the sourcecode of the original gtk-perl and pygtk projects.  Marc Lehmann
  606. E<lt>pcg at goof dot comE<gt> did lots of great work on the magic of making
  607. Glib::Object wrapper and subclassing work like they should.  Ross McFarland
  608. <rwmcfa1 at neces dot com> wrote quite a bit of the documentation generation
  609. tools.  Torsten Schoenfeld <kaffeetisch at web dot de> contributed little
  610. patches and tests here and there.
  611.  
  612. =head1 COPYRIGHT AND LICENSE
  613.  
  614. Copyright 2003-2006 by muppet and the gtk2-perl team
  615.  
  616. This library is free software; you can redistribute it and/or modify
  617. it under the terms of the Lesser General Public License (LGPL).  For
  618. more information, see http://www.fsf.org/licenses/lgpl.txt
  619.  
  620. =cut
  621.